Manager: Gestalt Manager



Carbon fully supports the Gestalt Manager. However, the results returned by Gestalt functions on Mac OS X are relevant only to your application's context. You should not use Gestalt functions to pass pointers to data among applications because each Carbon application resides in its own protected memory space in Mac OS X.

For compatibility with Mac OS X, you should avoid using the NewGestalt function to add a selector code, which requires moving your selector function into the system heap. You should also avoid using the ReplaceGestalt function to replace an existing selector function, which also requires your replacement function to reside in the system heap. Applications do not have access to the system heap in Mac OS X.

Supported  CallSelectorFunctionProc

Supported  DeleteGestaltValue

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  DisposeSelectorFunctionUPP

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  Gestalt

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  InvokeSelectorFunctionUPP

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  NewGestalt

For compatibility with Mac OS X, you should avoid using the NewGestalt function to add a selector code, which requires moving your selector function into the system heap.

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  NewGestaltValue

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  NewSelectorFunctionProc

Supported  NewSelectorFunctionUPP

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  ReplaceGestalt

You should avoid using the ReplaceGestalt function to replace an existing selector function, which also requires your replacement function to reside in the system heap. Applications do not have access to the system heap in Mac OS X.

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  ReplaceGestaltValue

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  SelectorFunctionProcPtr

Supported  SetGestaltValue

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

[Table of Contents] [Manager Index] [Function Index]

Generated on: 5/11/2000. Copyright © 1999, 2000 Apple Computer, Inc. All rights reserved.